package city.spring.modules.reception.vo;

import city.spring.modules.reception.entity.AdvisoryEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.Date;

/**
 * 咨询记录列表视图对象
 *
 * @author HouKunLin
 * @date 2020/6/23 0023 11:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdvisoryListVO extends AdvisoryEntity {
    /**
     * 老人姓名
     *
     * @see city.spring.modules.oldman.entity.OldmanInfoEntity#oldmanName
     */
    private String oldmanName;
    /**
     * 老人性别
     *
     * @see city.spring.modules.oldman.entity.OldmanInfoEntity#sex
     */
    private String oldmanSex;
    /**
     * 老人出生日期
     *
     * @see city.spring.modules.oldman.entity.OldmanInfoEntity#birthday
     */
    private LocalDate oldmanBirthday;
    /**
     * 老人家庭地址
     *
     * @see city.spring.modules.oldman.entity.OldmanInfoEntity#familyAddress
     */
    private String oldmanFamilyAddress;
    /**
     * 老人状态
     *
     * @see city.spring.modules.oldman.entity.OldmanInfoEntity#status
     */
    private Integer oldmanStatus;

    /**
     * 自理情况
     *
     * @see city.spring.modules.reception.entity.ReservationEntity#selfcare
     */
    private String selfcare;

    /**
     * 预约入住时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date reservationCheckintime;

    /**
     * 床位类型
     */
    private String bedType;

    /**
     * 是否包房
     */
    private String isPrivateroom;

    /**
     * 预约床位
     */
    private String bed;

    /**
     * 家庭地址
     */
    private String familyaddress;

    /**
     * 预约人姓名
     */
    private String reservationName;

    /**
     * 预约人电话
     */
    private String telephone;

    /**
     * 与老人关系
     */
    private String relationshipOldman;

    /**
     * 预约时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date reservationtime;

    /**
     * 接待人姓名
     */
    private String reviewUsername;

}
